Skip to content

Conversation

@gjwnc
Copy link
Contributor

@gjwnc gjwnc commented Apr 15, 2022

I just had the case, that an invalid handleClass was written into the DB and had to remove it manually from there. With this PR, a configured tasks is checked with class_exists and if it doesn't exist, the this task is ignored and an info message is written to the system log.

@gjwnc
Copy link
Contributor Author

gjwnc commented Apr 15, 2022

@daniellienert The case, that a task implementation is removed, still needs to be addressed. I could try to add some kind of auto cleanup, e.g. if a task is registered in the database but handlerClass doesn't exist, the task is removed from the DB. What do you think?

I would add this in another PR - see (#13)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant